package com.example.demo.finalUtils;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class FinalUtils {
    @Value("${net.tenantName}")
    private  String tenantName;
    @Value("${net.tenantPwd}")
    private  String tenantPwd;
    @Value("${net.host}")
    private  String host;
    @Value("${net.port}")
    private  String port;
    public void demo(){
        System.out.println(tenantName+"==="+host);
    }
}
